﻿@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>WebSetting</title>
    @Styles.Render("~/Content/admin/base.css")
    @Styles.Render("~/Content/admin/form.css")
</head>
<body>
    <div>
        @using (Html.BeginForm("WebSetting", "Admin", FormMethod.Post, new { name = "PublishForm" }))
        {
            @Html.AntiForgeryToken()
            @Html.ValidationSummary(true)
            <table id="tableList" class="editForm" cellpadding="0" cellspacing="0">
                <tr>
                    <td style="width:10%"></td>
                    <td style="width:90%"></td>
                </tr>
                <tr>
                    <td align="center" style="font-size:22px;" colspan="2">网站信息配置</td>

                </tr>
                <tr>
                    <td class="fieldLable">@Html.LabelForModel("网站名称")</td>
                    <td class="fieldLable">@Html.TextBox("sitename",ViewData["sitename"].ToString(),new { style = "width:80%" })</td>
                </tr>
                <tr>
                    <td class="fieldLable">@Html.LabelForModel("网站URL")</td>
                    <td class="fieldLable">@Html.TextBox("siteurl",ViewData["siteurl"].ToString(),new { style = "width:80%" })</td>
                </tr>
                <tr>
                    <td class="fieldLable">@Html.LabelForModel("网站备案信息代码")</td>
                    <td class="fieldLable">@Html.TextBox("icp",ViewData["icp"].ToString(),new { style = "width:80%" })</td>
                </tr>
                <tr>
                    <td class="fieldLable">@Html.LabelForModel("网站公告")</td>
                    <td class="fieldLable">@Html.TextArea("notice",ViewData["notice"].ToString(),new { rows="8",style = "width:80%" })</td>
                </tr>
                <tr>
                    <td class="fieldLabel" colspan="2"><input class="btn-" name="Submit1" type="submit" value="保存" /></td>
                </tr>
            </table>
        }
    </div>
</body>
</html>
